//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.lyq.bean;

public class JudgeSort {
    private String sort;
    private String TableName;
    private String Uname;
    private String Pwd;

    public JudgeSort(String Usersort) {
        this.sort = Usersort;
        if (this.sort.equals("管理员")) {
            this.TableName = "manager";
            this.Uname = "M_Name";
            this.Pwd = "M_Pwd";
        } else if (this.sort.equals("教师")) {
            this.TableName = "teacher";
            this.Uname = "T_No";
            this.Pwd = "T_Pwd";
        } else if (this.sort.equals("学生")) {
            this.TableName = "student";
            this.Uname = "S_No";
            this.Pwd = "S_Pwd";
        }

    }

    public String getTableName() {
        return this.TableName;
    }

    public String getUname() {
        return this.Uname;
    }

    public String getPwd() {
        return this.Pwd;
    }
}
